package com.hhkj.study.admin.goods.service.base.impl;

import com.hhkj.study.admin.goods.entity.GoodsSku;
import com.hhkj.study.admin.goods.mapper.GoodsSkuMapper;
import com.hhkj.study.admin.goods.model.podo.GoodsSkuDo;
import com.hhkj.study.admin.goods.model.podo.GoodsSkuPo;
import com.hhkj.study.admin.goods.service.base.GoodsSkuService;
import com.ruoyi.common.base.biz.service.base.BaseServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
*
* @author SERVER
* @since 2024-09-18
*/
@Service
public class GoodsSkuServiceImpl extends BaseServiceImpl<GoodsSku, GoodsSkuDo, GoodsSkuPo, GoodsSkuMapper> implements GoodsSkuService {

    @Resource
    private GoodsSkuMapper GoodsSkuMapper;

    @Override
    public void removeByGoodsId(Long goodsId) {
        GoodsSkuMapper.removeByGoodsId(goodsId);
    }
}